import request from '@/utils/request';

// 查询订单信息列表
export function listOrders(query) {
    return request({
      url: '/order/order/list',
      method: 'get',
      params: query
    })
  }
  
  // 查询订单信息详细
  export function getOrder(id) {
    return request({
      url: '/order/order/getById/' + id,
      method: 'get'
    })
  }